/**
 * All rights Reserved, Designed By 信鸥科技
 * project : Innovation-design
 * Created by youquer on 17/11/17.
 * 注意：本内容仅限于信鸥科技有限公司内部传阅，禁止外泄以及用于其他的商业目的
 * Description:
 *
 */
import request from '../utils/request';

//登录
export async function  postLogin(params) {

  return request(`/admin/login`,{
    method: 'POST',
    body: params,
  });
}

//登出
export async function  postLogout(params) {
  return request(`/admin/logout`,{
    method: 'POST',
    body: params,
  });
}


//修改密码
export async function  postChangePwd(params) {
  return request(`/admin/user/updatePwd`,{
    method: 'POST',
    body: params,
  });
}

//获取消息条数
export async function  postMsgTotal(params) {
  return request(`/admin/msg/total`,{
    method: 'POST',
    body: params,
  });
}
